package com.tjpu.xj.controller;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.tjpu.xj.beans.TeacherBean;

/**
 * 教师控制器
 * 
 * @author chen
 * 
 */
@Controller
@Scope("prototype")
@RequestMapping("teacher")
public class TeacherController {
	/**
	 * 教师登陆
	 * 
	 * @param teacher
	 * @return
	 */
	@RequestMapping("login")
	public String login(@ModelAttribute TeacherBean teacher) {
		return null;

	}

	/**
	 * 教师评价
	 * 
	 */
	@RequestMapping("assess")
	public String Assess( Model model) {

		return null;
	}

	/**
	 * 查看学生
	 * 
	 */
	@RequestMapping("studentdetail/{sCode}")
	public String StudentDetail(@PathVariable("sCode") Integer sCode,
			Model model) {
		return null;

	}

	/**
	 * 展示学生列表
	 */
	@RequestMapping("list")
	public String list() {
		return null;
	}

	/**
	 * 查看项目
	 * 
	 */
	@RequestMapping("projectdetail/{pCode}")
	public String ProjectDetail(@PathVariable("pCode") int pCode, Model model) {
		return null;

	}

}
